package com.test;

import org.junit.Test;

import redis.clients.jedis.Jedis;

public class Demo1 {
	@Test
	public void name1() {
		Jedis j=new Jedis("localhost");
		j.setex("黑马",30, "程序员。。。。");
		String value = j.get("foot");
		System.out.println(value);
	}
	
}
